import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import ConfirmPlugin from './plugins/vConfirm';
import ToastPlugin from './plugins/vToast';
import PopupPlugin from './plugins/vPopup';
import TogglePlugin from './plugins/vToggle';

// 全局样式
import './assets/styles/main.less'

const app = createApp(App)

app.use(createPinia())
app.use(router).use(ConfirmPlugin).use(ToastPlugin).use(PopupPlugin).use(TogglePlugin)

app.mount('#app')
